
#include "stdafx.h"
#include "MainController.h"


int main(int argc, char* argv[])
{
//	theWorld.Initialize(800, 480, "Angel Level Editor");
    theWorld.Initialize(1024, 768, "Angel Level Editor");
	
//    theWorld.SetupPhysics(Vector2(0, 0), Vector2(500, 500), Vector2(-500, -500));
    
	//Add the default grid, set Background color.
	theWorld.Add(new GridActor(), -1);
    theWorld.SetBackgroundColor(Color(0.75f, 0.75f, 0.75f));
	
    // Register main controller. 
    theWorld.SetGameManager(&theEditor);
	
	theWorld.StartGame();
	
	theWorld.Destroy();
	
	return 0;
}
